package com.easa.service;

import com.easa.entity.ShowTimetableByDay;
import com.easa.entity.Timetable;

import java.util.Date;
import java.util.List;

public interface TimetableService {
    List<ShowTimetableByDay> findCourseWithToday(Date today,String weekid);
    List<Timetable> findAllTimetable(Date today);
    int insertClass(Timetable timetable);
    List<ShowTimetableByDay> findAllCourse(String searchDate,String weekid);
    List<ShowTimetableByDay> findPersonCourse(String searchDate, String tid);
    List<ShowTimetableByDay> findPersonCourseAWeek(String weekid, String tid);
    ShowTimetableByDay findTimetableByCid(int cid);
    int deleteClassByCid(int cid);
    List<ShowTimetableByDay> getClassByAdmin(String tid, String lname, String classdate);
}
